Subject Property (MessageFilter Object) 

The Subject property sets filtering on a message s subject. Read/write.

Syntax

objMessageFilter.Subject

Data Type

String

Remarks

The Subject property specifies that the message filter should pass only messages in which the subject contains the string in Subject as a substring.

The Subject property corresponds to the MAPI property PR_SUBJECT.

The Subject property is the default property of a MessageFilter object, meaning that MessageFilter is syntactically equivalent to MessageFilter.Subject in Visual Basic code.